﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Collections;

using System.Text;
using IDAL;
using DAL;
using Models;

namespace BLL
{
    public class AboutAndCareerPicLogic
    {
        public static IAboutAndCareerPic aboutcareerpic = new AboutAndCareerPicDAL();
        public static List<AboutAndCareerPic> GetAboutPicList()
        {
            return aboutcareerpic.GetAboutPicList();
        }
        public static List<AboutAndCareerPic> GetCareerPicList()
        {
            return aboutcareerpic.GetCareerPicList();
        }
        public static List<AboutAndCareerPic> GetAboutPics()
        {
            return aboutcareerpic.GetAboutPics();
        }
        public static List<AboutAndCareerPic> GetCareerPics()
        {
            return aboutcareerpic.GetCareerPics();
        }
        public static int UpdateCareerPic(AboutAndCareerPic pic)
        {
            return aboutcareerpic.InsertAboutAndCareerPic(pic);
        }
        public static int UpdateAboutPic(AboutAndCareerPic pic)
        {
            return aboutcareerpic.UpdateAboutAndCareerPic(pic);
        }
        public static int InsertAboutPic(AboutAndCareerPic pic)
        {
            return aboutcareerpic.InsertAboutAndCareerPic(pic);
        }
        public static int DeleteAboutPic(AboutAndCareerPic pic)
        {
            return aboutcareerpic.DeleteAboutAndCareerPic(pic);
        }
        public static int DeleteCareerPic(AboutAndCareerPic pic)
        {
            return aboutcareerpic.DeleteAboutAndCareerPic(pic);
        }

        public static AboutAndCareerPic GetPicByID(int ID)
        {
            return aboutcareerpic.GetPicByID(ID);
        }
    }
}
